package com.simple.piger.mapper;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.simple.piger.dto.resp.company.InviteCompanyEmpRespDto;
import com.simple.piger.entity.InviteCompanyEmp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  * 公司职员 Mapper 接口
 * </p>
 *
 * @author baolw
 * @since 2020-02-06
 */
public interface InviteCompanyEmpMapper extends BaseMapper<InviteCompanyEmp> {

    List<InviteCompanyEmpRespDto> list(@Param("pageNumber") Integer pageNumber, @Param("pageSize")Integer pageSize, @Param("name")String name);

    int count(@Param("name")String name);

    List<InviteCompanyEmpRespDto> platformCompanyEmpList(@Param("pageNumber") Integer pageStart, @Param("pageSize") Integer limit
            , @Param("companyId") String companyId);

    int platformCompanyEmpListCount(@Param("companyId") String companyId);
}